package com.xjrsoft.module.customer.erp_model.eRP_StockInventory.service;

import com.xjrsoft.module.customer.erp_model.eRP_StockInventory.dto.ErpStockinventoryDto;
import com.xjrsoft.module.customer.erp_model.eRP_StockInventory.dto.ErpStockinventoryentryDto;
import com.xjrsoft.module.customer.erp_model.eRP_StockInventory.entity.ErpStockinventory;
import com.xjrsoft.module.customer.erp_model.eRP_StockInventory.entity.ErpStockinventoryentry;
import com.xjrsoft.module.customer.erp_model.eRP_StockInventory.dto.ErpStockinventoryListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customer.erp_model.eRP_StockInventory.vo.ErpStockinventoryentryVo;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-10-08
 */
public interface IErpStockinventoryService extends IService<ErpStockinventory> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpStockinventory> getPageList(ErpStockinventoryListDto pageListDto);

	List<ErpStockinventoryentryVo> getInfo(String F_InventoryId);

	List<ErpStockinventoryentry> getErpStockinventoryentryByParentId(String parentId);
	String addErpStockinventory(ErpStockinventoryDto erpStockinventoryDto, ErpStockinventory erpStockinventory, List<ErpStockinventoryentryDto> erpStockinventoryentryDtos, List<ErpStockinventoryentry> erpStockinventoryentryList);

	boolean updateErpStockinventory(String id, ErpStockinventoryDto erpStockinventoryDto, ErpStockinventory erpStockinventory, List<ErpStockinventoryentryDto> erpStockinventoryentryDtos, List<ErpStockinventoryentry> erpStockinventoryentryList);
}
